package com.wg.springboot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;

@SpringBootApplication
//@EnableFeignClients(basePackages = {"com.wg.spring.feign"})
@EnableDiscoveryClient
//@ComponentScan("com.wg.spring.feign")
//@ComponentScans(value = {@ComponentScan("com.wg.springboot.web"),@ComponentScan("com.wg.spring.feign")})
public class SpringbootFirstApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringbootFirstApplication.class, args);
    }

}
